#include "inThread.h"
#include "outThread.h"

int main()
{
    boost::asio::io_service io;
    InThread::getInstance()(io) ;
    OutThread::getInstance()(io) ;
    
    io.run() ;
    
    std::cout<< "Back main ------.\n" ;
//    inThread.join();
    std::cout<< "Back main --.\n" ;
}
